Swap Two Numbers in JavaScript